<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
require_once 'Classes/OptionalFieldsElement.php';
require_once 'Classes/View/Pages/ListSubFamiliesPage.php'; 
require_once 'Classes/Model/Sub_FamilyModel.php'; 
class Sub_Family extends OptionalFieldsElement
{
    private $Name;
    
    private $FamilyID;
    
    
    public function __construct($arrayOrId="",$name="",$optional_1="",$optional_2="",
                                $optional_3="",$optional_4="",$optional_5="",$optional_6="") {
        parent::__construct($arrayOrId);
        parent::__construct($arrayOrId,$name="",$optional_1="",$optional_2="",
                                $optional_3="",$optional_4="",$optional_5="",$optional_6="");
        
        if(is_array($arrayOrId)){
            $this->Name = $arrayOrId['Name'];
            
            
        }
        else{
            $this->Name = $name;

        }
    }
    
    
    
    
    public function getName(){
        return $this->Name;   
    }
    
    public function setName($Name){
        $this->Name= $Name;
    }
    
    
  
    
    public function getFamilyID(){
        return $this->FamilyID;   
    }
    
    public function setFamilyID($FamilyID){
        $this->FamilyID= $FamilyID;
        
    }
}
?>
